pp108 : Generating a Web Service Operation on an Email Model

Generating a Web Service Operation on an Email Model

This topic describes the procedure to generate a Web service Operation on an E-mail Model.

Before you begin this task:
You must already have created an E-mail Model to generate a Web service Operation.

You can generate Web service Operations on an E-mail Model using the Web service definition wizard and use them in a Business Process Model.
Note: In runtime, Web service Interfaces are being referred as Method Sets and Web service Operations are referred as Methods.

  1. From the Workspace Documents (Explorer), right-click your project and select New > Other. The New Process Platform Document window appears.
  2. Click (Web Service) from the New Process Platform Document window. The Untitled Web Service - Web Service wizard is displayed.
  3. Click the Select the source drop-down box and select Email Model from the list.
  4. Type the appropriate name and description for the Web service in the Name and Description fields of the wizard.
  5. Type the namespace for the Web service operation and click Next.
  6. Click next to the Select a Email Model field, select the required Email Model from the Select Email Model dialog box that appears and click OK. The name of the selected Email Model is displayed in the Select a Email Model field.
  7. Provide the names of the Web service Interface and Web service Operation and click Finish
    A Web service Properties page appears, displaying the target namespace, its prefix and the location URI in the Target Namespace, TNS Prefix, and Location URI fields.

The E-mail Model can now be used as a Web service operation and is displayed under Workspace Documents (Explorer) > <project> folder.

After you complete:
Right-click the E-mail Model <Web service operation> in Workspace Documents (Explorer) and click Publish to Organization to make it available to an organization.

Note:

  • To work with Web services generated on E-mail Models, the Notification Service Group needs to be available in that organization.
  • If you encounter the 'Service Group Lookup Failure' error on executing a Web service generated on the E-mail Model, you can do one of the following: